package com.sunshine.ssm.test;

import java.util.UUID;

/**
 * Demo class
 *
 * @author WeiHong
 * @date 2018/9/29
 */
public class SetMain {

    public static void main(String[] args) {
        String a = "D:/idea-workspace/bms_2.5/com.xlkfinance.bms.web/target/nfs/temp/%VD83NAYE8H}Z{LDWFAJMN1.jpg";
        String aa = "%VD83NAYE8H}Z{LDWFAJMN1.jpg";
        String substring = a.substring(0, a.lastIndexOf("/"));
        System.out.println("substring = " + substring);
    }


}
